#pragma once
#include "graphic.h"
#include "GraphicFactory.h"

class DecorativeLine :
	public Graphic
{
public:
	DecorativeLine(void);
	virtual ~DecorativeLine(void);
	DEF_CREATE_CALLBACK(DecorativeLine);
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
public:
	virtual void initPos(CPoint& pt1, CPoint& pt2);
	virtual void Serialize(CArchive& ar);
public:
	CPoint   _pt[2];
	COLORREF _color;
	int      _width;
};

